home *** CD-ROM | disk | FTP | other *** search
/ Champak 125 / Vol 125 (Damaged).iso / games / stuff_se.swf / scripts / frame_30 / DoAction.as
Encoding:
Text File  |  2008-11-13  |  2.8 KB  |  105 lines

  1. var ┬º\x01┬º = 797;
  2. while(true)
  3. {
  4.    if(eval("\x01") == 797)
  5.    {
  6.       set("\x01",eval("\x01") - 256);
  7.       ┬º┬ºpush(true);
  8.    }
  9.    else if(eval("\x01") == 846)
  10.    {
  11.       set("\x01",eval("\x01") - 356);
  12.    }
  13.    else if(eval("\x01") == 885)
  14.    {
  15.       set("\x01",eval("\x01") - 395);
  16.    }
  17.    else
  18.    {
  19.       if(eval("\x01") == 104)
  20.       {
  21.          set("\x01",eval("\x01") + 742);
  22.          break;
  23.       }
  24.       if(eval("\x01") == 490)
  25.       {
  26.          set("\x01",eval("\x01") + 168);
  27.       }
  28.       else
  29.       {
  30.          if(eval("\x01") != 541)
  31.          {
  32.             if(eval("\x01") == 658)
  33.             {
  34.                set("\x01",eval("\x01") + 228);
  35.                var score = 0;
  36.                var level = 1;
  37.                var gameInPlay = false;
  38.                var moveSequence = [];
  39.                var moveDelay = 15;
  40.                var moveTimerStart = 15;
  41.                var moveTimerLeft = 15;
  42.                var movesMade = 0;
  43.                var playerMove = 0;
  44.                var x = randInt(1,4);
  45.                moveSequence.push(x);
  46.                if(x == 1)
  47.                {
  48.                   testString = "U";
  49.                }
  50.                else if(x == 2)
  51.                {
  52.                   testString = "D";
  53.                }
  54.                else if(x == 3)
  55.                {
  56.                   testString = "L";
  57.                }
  58.                else if(x == 4)
  59.                {
  60.                   testString = "R";
  61.                }
  62.                var timerStart = 100;
  63.                var timerLeft = timerStart;
  64.                var timerDecr = 1000;
  65.                PlayerSpot._visible = false;
  66.                OpponentSpot._visible = false;
  67.                CheatPanel._visible = false;
  68.                var musicSelection = "HipHopSong";
  69.                if(activeCode != null)
  70.                {
  71.                   if(activeCode == "CHEATER")
  72.                   {
  73.                      CheatPanel._visible = true;
  74.                   }
  75.                   else if(activeCode == "GETFUNKY")
  76.                   {
  77.                      musicSelection = "FunkySong";
  78.                   }
  79.                   else if(activeCode == "GOTECHNO")
  80.                   {
  81.                      musicSelection = "TechnoSong";
  82.                   }
  83.                   else if(activeCode == "METALLIC")
  84.                   {
  85.                      musicSelection = "MetalSong";
  86.                   }
  87.                }
  88.                SFX.gotoAndPlay("Cheering");
  89.                break;
  90.             }
  91.             if(eval("\x01") == 886)
  92.             {
  93.                set("\x01",eval("\x01") - 886);
  94.             }
  95.             break;
  96.          }
  97.          set("\x01",eval("\x01") - 437);
  98.          if(┬º┬ºpop())
  99.          {
  100.             set("\x01",eval("\x01") + 742);
  101.          }
  102.       }
  103.    }
  104. }
  105.